﻿#ifndef WRITEWIDGET_H
#define WRITEWIDGET_H

#include <QString>
#include <QXmlStreamWriter>
#include <QCoreApplication>
#include <QString>
#include <QStringList>
#include <QRegularExpression>
#include <datastruct.h>

using namespace sgfxXmlDataStruct;


void printWidget(QXmlStreamWriter &writer, QString originX, QString oringinY, QString wWidth, QString wHeight, QString widgetLibLoc, const QList<Parameter>& inputParameters, const Extensions& extensions);


void printWidgetContainer(QXmlStreamWriter &writer, const QString& layerId, const DllProperties& dllProperties, QString oid, int oX, int oY, int wWidth, int wHeight
                          , int layerWidth, int layerHeight, const Rule &rule, const ExtensionRules &eRules, const PropTypes &propTypes
                          , int inContainer, const QMap<QString, QString> &constMap, const CommuParams &commuParams, const SdyContent &sdys);


#endif // WRITEWIDGET_H
